/**
 * 
 */

function winOpenInit(){
	document.getElementById('btnFind').onclick = function(){
		// win = window.open('http://www.naver.com', 'win', '');
		win = window.open('A09Win_sub.html', 'win', 'width=300px height=300px');
	}
}

function winSubInit(){
	tar = window.opener.document.frm;
	tar.address.value = '우편번호를 선택해주세요.';
	var s = document.getElementById('sel');
	s.onchange = function () {
		var pos = s.selectedIndex;
		var zip = s[pos].value.split('-');
		var address = s[pos].text;
		
		tar.zip1.value = zip[0];
		tar.zip2.value = zip[1];
		tar.address.value = address;
	}
	
}
